let [hasHandleColor, handleBorderColor] =
themeNode.lookup_color('-slider-handle-border-color', false);
- let wholeHandleRadius = Math.ceil(handleRadius);
- let handleX = wholeHandleRadius +
- (width - 2 * wholeHandleRadius) * this._value / this._maxValue;
- let handleY = height / 2;
+ const ceiledHandleRadius = Math.ceil(handleRadius + handleBorderWidth);
+ const handleX = ceiledHandleRadius +
+ (width - 2 * ceiledHandleRadius) * this._value / this._maxValue;
+ const handleY = height / 2;
let color = themeNode.get_foreground_color();
Clutter.cairo_set_source_color(cr, color);